package springboot_shiro.com.ljs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Value;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "student_boot")
public class Student_boot implements Serializable {
    @TableId(type = IdType.AUTO)
    private  int id;
    private  String name;
    private  String password;
    private  String pic;
    private  int state;
    private  String role;
    private  String permis;

    @Override
    public String toString() {
        return "Student_boot{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", pic='" + pic + '\'' +
                ", state=" + state +
                ", role='" + role + '\'' +
                ", permis='" + permis + '\'' +
                '}';
    }
}
